﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类DEV_STANDARD_LAMP
     ///</summary>
     public class DEV_STANDARD_LAMP
     {
         private int __ID=0 ;
         private string __SEARCH_CONDITION=string.Empty ;
         private string __ZXMC=string.Empty ;
         private string __YDZDGGQXZ=string.Empty ;
         private string __EDZDGGQXZ=string.Empty ;
         private string __SDZDGGQXZ=string.Empty ;
         private string __YGCZPYXZXX=string.Empty ;
         private string __YGCZPYXZSX=string.Empty ;
         private string __JGCZPYXZXX=string.Empty ;
         private string __JGCZPYXZSX=string.Empty ;
         private string __YGZDZPXZ=string.Empty ;
         private string __YGZDYPXZ=string.Empty ;
         private string __YGYDZPXZ=string.Empty ;
         private string __YGYDYPXZ=string.Empty ;
         private string __JGZDZPXZ=string.Empty ;
         private string __JGZDYPXZ=string.Empty ;
         private string __JGYDZPXZ=string.Empty ;
         private string __JGYDYPXZ=string.Empty ;
         private string __ZGQXZ=string.Empty ;
         private int? __IS_SHOW=null ;
         private string __AREA_NAME=string.Empty ;
         private int? __UTYPE=null ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public DEV_STANDARD_LAMP()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("SEARCH_CONDITION",false);
             this.__Changed.Add("ZXMC",false);
             this.__Changed.Add("YDZDGGQXZ",false);
             this.__Changed.Add("EDZDGGQXZ",false);
             this.__Changed.Add("SDZDGGQXZ",false);
             this.__Changed.Add("YGCZPYXZXX",false);
             this.__Changed.Add("YGCZPYXZSX",false);
             this.__Changed.Add("JGCZPYXZXX",false);
             this.__Changed.Add("JGCZPYXZSX",false);
             this.__Changed.Add("YGZDZPXZ",false);
             this.__Changed.Add("YGZDYPXZ",false);
             this.__Changed.Add("YGYDZPXZ",false);
             this.__Changed.Add("YGYDYPXZ",false);
             this.__Changed.Add("JGZDZPXZ",false);
             this.__Changed.Add("JGZDYPXZ",false);
             this.__Changed.Add("JGYDZPXZ",false);
             this.__Changed.Add("JGYDYPXZ",false);
             this.__Changed.Add("ZGQXZ",false);
             this.__Changed.Add("IS_SHOW",false);
             this.__Changed.Add("AREA_NAME",false);
             this.__Changed.Add("UTYPE",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID =0;
             this.__SEARCH_CONDITION =string.Empty;
             this.__ZXMC =string.Empty;
             this.__YDZDGGQXZ =string.Empty;
             this.__EDZDGGQXZ =string.Empty;
             this.__SDZDGGQXZ =string.Empty;
             this.__YGCZPYXZXX =string.Empty;
             this.__YGCZPYXZSX =string.Empty;
             this.__JGCZPYXZXX =string.Empty;
             this.__JGCZPYXZSX =string.Empty;
             this.__YGZDZPXZ =string.Empty;
             this.__YGZDYPXZ =string.Empty;
             this.__YGYDZPXZ =string.Empty;
             this.__YGYDYPXZ =string.Empty;
             this.__JGZDZPXZ =string.Empty;
             this.__JGZDYPXZ =string.Empty;
             this.__JGYDZPXZ =string.Empty;
             this.__JGYDYPXZ =string.Empty;
             this.__ZGQXZ =string.Empty;
             this.__IS_SHOW =null;
             this.__AREA_NAME =string.Empty;
             this.__UTYPE =null;
             this.__Changed["ID"] = false;
             this.__Changed["SEARCH_CONDITION"] = false;
             this.__Changed["ZXMC"] = false;
             this.__Changed["YDZDGGQXZ"] = false;
             this.__Changed["EDZDGGQXZ"] = false;
             this.__Changed["SDZDGGQXZ"] = false;
             this.__Changed["YGCZPYXZXX"] = false;
             this.__Changed["YGCZPYXZSX"] = false;
             this.__Changed["JGCZPYXZXX"] = false;
             this.__Changed["JGCZPYXZSX"] = false;
             this.__Changed["YGZDZPXZ"] = false;
             this.__Changed["YGZDYPXZ"] = false;
             this.__Changed["YGYDZPXZ"] = false;
             this.__Changed["YGYDYPXZ"] = false;
             this.__Changed["JGZDZPXZ"] = false;
             this.__Changed["JGZDYPXZ"] = false;
             this.__Changed["JGYDZPXZ"] = false;
             this.__Changed["JGYDYPXZ"] = false;
             this.__Changed["ZGQXZ"] = false;
             this.__Changed["IS_SHOW"] = false;
             this.__Changed["AREA_NAME"] = false;
             this.__Changed["UTYPE"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[SEARCH_CONDITION]的数据
         /// </summary>
         public string SEARCH_CONDITION
         {
              set{ __SEARCH_CONDITION = value.Replace("'","’"); __Changed["SEARCH_CONDITION"] = true;}
              get{return __SEARCH_CONDITION;}
         }
         /// <summary>
         ///设置或获取类中的[ZXMC]的数据
         /// </summary>
         public string ZXMC
         {
              set{ __ZXMC = value.Replace("'","’"); __Changed["ZXMC"] = true;}
              get{return __ZXMC;}
         }
         /// <summary>
         ///设置或获取类中的[YDZDGGQXZ]的数据
         /// </summary>
         public string YDZDGGQXZ
         {
              set{ __YDZDGGQXZ = value.Replace("'","’"); __Changed["YDZDGGQXZ"] = true;}
              get{return __YDZDGGQXZ;}
         }
         /// <summary>
         ///设置或获取类中的[EDZDGGQXZ]的数据
         /// </summary>
         public string EDZDGGQXZ
         {
              set{ __EDZDGGQXZ = value.Replace("'","’"); __Changed["EDZDGGQXZ"] = true;}
              get{return __EDZDGGQXZ;}
         }
         /// <summary>
         ///设置或获取类中的[SDZDGGQXZ]的数据
         /// </summary>
         public string SDZDGGQXZ
         {
              set{ __SDZDGGQXZ = value.Replace("'","’"); __Changed["SDZDGGQXZ"] = true;}
              get{return __SDZDGGQXZ;}
         }
         /// <summary>
         ///设置或获取类中的[YGCZPYXZXX]的数据
         /// </summary>
         public string YGCZPYXZXX
         {
              set{ __YGCZPYXZXX = value.Replace("'","’"); __Changed["YGCZPYXZXX"] = true;}
              get{return __YGCZPYXZXX;}
         }
         /// <summary>
         ///设置或获取类中的[YGCZPYXZSX]的数据
         /// </summary>
         public string YGCZPYXZSX
         {
              set{ __YGCZPYXZSX = value.Replace("'","’"); __Changed["YGCZPYXZSX"] = true;}
              get{return __YGCZPYXZSX;}
         }
         /// <summary>
         ///设置或获取类中的[JGCZPYXZXX]的数据
         /// </summary>
         public string JGCZPYXZXX
         {
              set{ __JGCZPYXZXX = value.Replace("'","’"); __Changed["JGCZPYXZXX"] = true;}
              get{return __JGCZPYXZXX;}
         }
         /// <summary>
         ///设置或获取类中的[JGCZPYXZSX]的数据
         /// </summary>
         public string JGCZPYXZSX
         {
              set{ __JGCZPYXZSX = value.Replace("'","’"); __Changed["JGCZPYXZSX"] = true;}
              get{return __JGCZPYXZSX;}
         }
         /// <summary>
         ///设置或获取类中的[YGZDZPXZ]的数据
         /// </summary>
         public string YGZDZPXZ
         {
              set{ __YGZDZPXZ = value.Replace("'","’"); __Changed["YGZDZPXZ"] = true;}
              get{return __YGZDZPXZ;}
         }
         /// <summary>
         ///设置或获取类中的[YGZDYPXZ]的数据
         /// </summary>
         public string YGZDYPXZ
         {
              set{ __YGZDYPXZ = value.Replace("'","’"); __Changed["YGZDYPXZ"] = true;}
              get{return __YGZDYPXZ;}
         }
         /// <summary>
         ///设置或获取类中的[YGYDZPXZ]的数据
         /// </summary>
         public string YGYDZPXZ
         {
              set{ __YGYDZPXZ = value.Replace("'","’"); __Changed["YGYDZPXZ"] = true;}
              get{return __YGYDZPXZ;}
         }
         /// <summary>
         ///设置或获取类中的[YGYDYPXZ]的数据
         /// </summary>
         public string YGYDYPXZ
         {
              set{ __YGYDYPXZ = value.Replace("'","’"); __Changed["YGYDYPXZ"] = true;}
              get{return __YGYDYPXZ;}
         }
         /// <summary>
         ///设置或获取类中的[JGZDZPXZ]的数据
         /// </summary>
         public string JGZDZPXZ
         {
              set{ __JGZDZPXZ = value.Replace("'","’"); __Changed["JGZDZPXZ"] = true;}
              get{return __JGZDZPXZ;}
         }
         /// <summary>
         ///设置或获取类中的[JGZDYPXZ]的数据
         /// </summary>
         public string JGZDYPXZ
         {
              set{ __JGZDYPXZ = value.Replace("'","’"); __Changed["JGZDYPXZ"] = true;}
              get{return __JGZDYPXZ;}
         }
         /// <summary>
         ///设置或获取类中的[JGYDZPXZ]的数据
         /// </summary>
         public string JGYDZPXZ
         {
              set{ __JGYDZPXZ = value.Replace("'","’"); __Changed["JGYDZPXZ"] = true;}
              get{return __JGYDZPXZ;}
         }
         /// <summary>
         ///设置或获取类中的[JGYDYPXZ]的数据
         /// </summary>
         public string JGYDYPXZ
         {
              set{ __JGYDYPXZ = value.Replace("'","’"); __Changed["JGYDYPXZ"] = true;}
              get{return __JGYDYPXZ;}
         }
         /// <summary>
         ///设置或获取类中的[ZGQXZ]的数据
         /// </summary>
         public string ZGQXZ
         {
              set{ __ZGQXZ = value.Replace("'","’"); __Changed["ZGQXZ"] = true;}
              get{return __ZGQXZ;}
         }
         /// <summary>
         ///设置或获取类中的[IS_SHOW]的数据
         /// </summary>
         public int? IS_SHOW
         {
              set{ __IS_SHOW = value; __Changed["IS_SHOW"] = true;}
              get{return __IS_SHOW;}
         }
         /// <summary>
         ///设置或获取类中的[AREA_NAME]的数据
         /// </summary>
         public string AREA_NAME
         {
              set{ __AREA_NAME = value.Replace("'","’"); __Changed["AREA_NAME"] = true;}
              get{return __AREA_NAME;}
         }
         /// <summary>
         ///设置或获取类中的[UTYPE]的数据
         /// </summary>
         public int? UTYPE
         {
              set{ __UTYPE = value; __Changed["UTYPE"] = true;}
              get{return __UTYPE;}
         }
    }
}
